package com.lwl.entity.mht;

import java.io.Serializable;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;
@Table(name = "t_mht_plane")
@Data
//@ApiModel(value = "TMhtPlane)", description = "")
public class TMhtPlane implements Serializable {
 private static final long serialVersionUID = 816093336961234807L;
 @Id
@Column(name = "id")
private Integer id;

@Column(name = "planname")
//@ApiModelProperty(value = "计划的名字，不可以重复")
private String planname;

//@DateTimeFormat(pattern = "yyyy-MM-dd")这里是因为前端传过来的数据类型是String，而这里是Date类型的额数据，所以需要转换类型
@Column(name = "begintime")
//@ApiModelProperty(value = "计划开始时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date begintime;


@Column(name = "endtime")
//@ApiModelProperty(value = "计划结束的时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date endtime;

@Column(name = "code")
//@ApiModelProperty(value = "邀请码")
private String code;

@Column(name = "uid")
//@ApiModelProperty(value = "创建人的id")
private Integer uid;

@Column(name = "createtime")
//@ApiModelProperty(value = "创建的时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createtime;

@Column(name = "updatetime")
//@ApiModelProperty(value = "修改的时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updatetime;

@Column(name = "status")
//@ApiModelProperty(value = "该计划的状态")
private Integer status;
}
